<?php
namespace app\controller;

use app\BaseController;
use think\facade\View; // 使用模板引擎
use think\facade\Session;

class Login extends BaseController
{

    public function login(){
        view::engine()->layout(false);
        view::engine()->layout('logreglayout');
        return view::fetch();
    }

    public function register(){
        view::engine()->layout(false);
        view::engine()->layout('logreglayout');
        return view::fetch();
    }
}

